//
//  PYCornerButtonCell.h
//  IHome
//
//   Created by zhujizheng on 2020/2/18.
//  Copyright © 2019年 com.zhujizheng. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
@class PYCornerButtonCell;
@protocol PYCornerButtonCellDelegate <NSObject>

@optional
- (void)clickButton:(PYCornerButtonCell *)cornerButtonCell;

@end
@interface PYCornerButtonCell : UITableViewCell

@property (nonatomic, strong, readonly) UIButton *btn;

+ (instancetype)cellWithTableView:(UITableView *)tableView delegate:(nullable id<PYCornerButtonCellDelegate>)delegate;

- (void)enableBtn;
- (void)disableBtn;

@end

NS_ASSUME_NONNULL_END
